//
//  RSMeCell.h
//  RenShineDoctor
//
//  Created by 黄强强 on 15/11/5.
//  Copyright © 2015年 杭州岐黄信息技术有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HQQSettingConfig.h"

@class HQQSettingItem;
@class HQQSettingSwitch;

#define RSCommonCellID @"RSCommonCellID"


@protocol RSCommonCellDelegate <NSObject>

@optional
/**
 *  监听switch的值改变
 *
 *  @param currentSwitch 当前点击了的switch
 */
- (void)commonCellDidChangeSwitch:(HQQSettingSwitch *)currentSwitch;

@end


@interface HQQSettingCell : UITableViewCell

@property (nonatomic, strong) HQQSettingItem *item;
@property (nonatomic, weak) id<RSCommonCellDelegate> delegate;

+ (instancetype)cellWithTableView:(UITableView *)tableView;

@end
